/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       academy.h

	$Header: /game/academy.h $

	$NoKeywords: $

 ************************************************************************/

#ifndef ACADEMY_H_INCLUDED
#define ACADEMY_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "single_use_object.h"

// -------------------------------------------------------------
// hero gains 1000 experience from visiting an academy
// -------------------------------------------------------------
class t_academy : public t_single_use_object
{
public:
	t_academy( std::string const& source );
protected:

	virtual std::string add_icons( t_basic_dialog* dialog, std::string const& text, 
		                           std::vector<t_hero*> const& heroes );
    virtual bool are_all_heroes_ineligible( t_army* army ) const;
	virtual float		ai_value( t_adventure_ai const& ai, t_creature_array const& army, int move_cost ) const;	
	virtual void		visit( t_hero* hero ); 
};

#endif // ACADEMY_H_INCLUDED
